package com.hl.toolkit.server.tycoin.user.slaveentity;
// Generated 2017-5-20 22:33:23 by Hibernate Tools 4.0.0.Final

import com.tycoin.common.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="tycoin_user_bak")
public class TycoinUserBak extends AbstractEntity implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3570533688125309123L;
	
 
	@Column(name = "pid")
	private int pid;
	
	@Column(name = "groupid")
	private int groupid;
	
	@Column(name = "level_id")
	private int levelId;
	
	@Column(name = "username")
	private String username;
	
	@Column(name = "realname")
	private String realname;
	
	@Column(name = "password")
	private String password;
	
	@Column(name = "salt")
	private String salt;
	
	@Column(name = "status")
	private int status;
	
	@Column(name = "mobile")
	private String mobile;
	
	@Column(name = "lastvisit")
	private int lastvisit;
	
	@Column(name = "lastip")
	private String lastip;
	
	@Column(name = "remark")
	private String remark;
	
	@Column(name = "starttime")
	private int starttime;
	
	@Column(name = "endtime")
	private int endtime;
	
	@Column(name = "type")
	private String type;
	
	@Column(name = "is_black")
	private int isBlack;
	
	@Column(name = "admin_userid")
	private Integer adminUserid;
	
	@Column(name = "is_agent")
	private int isAgent;
	
	@Column(name = "addtime")
	private int addtime;
	
	@Column(name = "addip")
	private String addip;

	public TycoinUserBak() {
	}

	public TycoinUserBak(int pid, int groupid, int levelId, String username, String realname, String password, String salt,
			int status, String mobile, int lastvisit, String lastip, String remark, int starttime, int endtime,
			String type, int isBlack, int isAgent, int addtime, String addip) {
		this.pid = pid;
		this.groupid = groupid;
		this.levelId = levelId;
		this.username = username;
		this.realname = realname;
		this.password = password;
		this.salt = salt;
		this.status = status;
		this.mobile = mobile;
		this.lastvisit = lastvisit;
		this.lastip = lastip;
		this.remark = remark;
		this.starttime = starttime;
		this.endtime = endtime;
		this.type = type;
		this.isBlack = isBlack;
		this.isAgent = isAgent;
		this.addtime = addtime;
		this.addip = addip;
	}

	public TycoinUserBak(int pid, int groupid, int levelId, String username, String realname, String password, String salt,
			int status, String mobile, int lastvisit, String lastip, String remark, int starttime, int endtime,
			String type, int isBlack, Integer adminUserid, int isAgent, int addtime, String addip) {
		this.pid = pid;
		this.groupid = groupid;
		this.levelId = levelId;
		this.username = username;
		this.realname = realname;
		this.password = password;
		this.salt = salt;
		this.status = status;
		this.mobile = mobile;
		this.lastvisit = lastvisit;
		this.lastip = lastip;
		this.remark = remark;
		this.starttime = starttime;
		this.endtime = endtime;
		this.type = type;
		this.isBlack = isBlack;
		this.adminUserid = adminUserid;
		this.isAgent = isAgent;
		this.addtime = addtime;
		this.addip = addip;
	}

 
	public int getPid() {
		return this.pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getGroupid() {
		return this.groupid;
	}

	public void setGroupid(int groupid) {
		this.groupid = groupid;
	}

	public int getLevelId() {
		return this.levelId;
	}

	public void setLevelId(int levelId) {
		this.levelId = levelId;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return this.salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public int getLastvisit() {
		return this.lastvisit;
	}

	public void setLastvisit(int lastvisit) {
		this.lastvisit = lastvisit;
	}

	public String getLastip() {
		return this.lastip;
	}

	public void setLastip(String lastip) {
		this.lastip = lastip;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getStarttime() {
		return this.starttime;
	}

	public void setStarttime(int starttime) {
		this.starttime = starttime;
	}

	public int getEndtime() {
		return this.endtime;
	}

	public void setEndtime(int endtime) {
		this.endtime = endtime;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getIsBlack() {
		return this.isBlack;
	}

	public void setIsBlack(int isBlack) {
		this.isBlack = isBlack;
	}

	public Integer getAdminUserid() {
		return this.adminUserid;
	}

	public void setAdminUserid(Integer adminUserid) {
		this.adminUserid = adminUserid;
	}

	public int getIsAgent() {
		return this.isAgent;
	}

	public void setIsAgent(int isAgent) {
		this.isAgent = isAgent;
	}

	public int getAddtime() {
		return this.addtime;
	}

	public void setAddtime(int addtime) {
		this.addtime = addtime;
	}

	public String getAddip() {
		return this.addip;
	}

	public void setAddip(String addip) {
		this.addip = addip;
	}

}
